// import { useState } from 'react'
import React from 'react';
import { HashRouter as Router, Routes, Route } from 'react-router-dom';
import './App.css';

import './assets/iconfont/iconfont.css';

import Home from './pages/Home/index';
import OffLine from './pages/Banner/offLineDetail';

class App extends React.Component {
  render() {
    return (
      <Router>
        <Routes>
          <Route path="/" element={<Home />} />
          <Route path="/detail" element={<OffLine />} />
        </Routes>
      </Router>
    );
  }
}

export default App;
